package graphics.object.interfaces;

public interface GLMouseListener {
    
    // Level 1 Listener

    /**
     * Called when the mouse changes position.
     * @param x - Real X position of the mouse.
     * @param y - Real Y position of the mouse
     */
    public void onMouseMove(int x, int y, int dx, int dy);

    /**
     * Called when the mouse presses a button.
     * @param id - Id of the mouse button pressed
     * @param x - Real X position of the mouse.
     * @param y - Real Y position of the mouse
     */
    public void onMousePress(int id, int x, int y);

    /**
     * Called when the mouse releases a button.
     * @param id - Id of the mouse button pressed
     * @param x - Real X position of the mouse.
     * @param y - Real Y position of the mouse
     */
    public void onMouseRelease(int id, int x, int y);
}
